#include <stdio.h>

int main()
{
    int nCase;
    scanf("%d", &nCase);
    while (nCase--)
    {
        double distance;
        scanf("%lf", &distance);
        printf("%.2lf\n", distance * 5280 * 12 * 2.54 / 100000);
    }
    return 0;
}
